﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using Sharp.Portal;
using Sharp.Portal.AdminLTE;
using Sharp.Portal.Configuration;
using Sharp.Portal.Mvc.Form;

namespace Sharp.WebBooter.Areas.Platform.Models
{
    [ItemPage(OpenWith = OpenWith.Window)]
    public class UserConfigViewModel : ISharpForm, IPreferenceConfig
    {
        public UserConfigViewModel()
        {
            this.UI = new BSSharpFrom(this);
        }
        [Display(Name = "每页显示N行")]
        public int PageSize { get; set; }




        public SharpFrom UI { get; set; }
        public string ConfigFileName => "偏好设置.cfg";
    }
}